import { Injectable } from '@nestjs/common';
// import axios from 'axios';
const request = require('request');
@Injectable()
export class CloudStorageService {
  constructor() {
    const opt = {
      url: 'https://cloud.minapp.com/api/oauth2/hydrogen/openapi/authorize/',
      method: 'POST',
      json: {
        client_id: '4c4686c04c65028e0853',
        client_secret: '60b9987c444a0ad2a086f688d4c2439eb15e0efc',
      },
      jar: true, // 允许记住 cookie
      followAllRedirects: true, // 允许重定向
    };
  }
}
